package com.javajun.spider.bt7086.util;

public enum UserAgent {
	Chrome("Google Chrome", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36");

	private String name;
	private String agent;
	
	private UserAgent(String name, String agent) {
		this.name = name;
		this.agent = agent;
	}
	
	public String getAgent() {
		return agent;
	}

	@Override
	public String toString() {
		return super.toString()
				+"[name="+name+", agent="+agent+"]";
	}

}
